<%@ page language="java" contentType="text/html; charset=utf-8"
	import="java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>注册</title>
</head>
<body>
	<h1>注册</h1>
	<hr>
	<form action="request.jsp" method="post" name="regForm">
		<table>
			<tr>
				<td>用户名</td>
				<td><input type="text" name="username" ></td>
			</tr>
			<tr>
				<td>爱好：</td>
				<td>
					<input type="checkbox" name="favorite" value="movie">电影
					<input type="checkbox" name="favorite" value="music">音乐
					<input type="checkbox" name="favorite" value="draw">画画
					<input type="checkbox" name="favorite" value="read">读书
				</td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="提交"></td>
			</tr>
		</table>		
	</form>
	<br>
	<br>
	<a href="request.jsp?username=李四">测试URL传参数</a>
</body>
</html>